package com.libraryManage.vo;

import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author:ZhangQing
 * @Date:2020/11/4
 */
@Data
@ApiModel(description = "借阅管理vo")
public class BorrowVo extends PagingEntity {
    @ApiModelProperty(value = "借书记录id")
    private Integer id;

    @ApiModelProperty(value = "学生id")
    private Integer studentId;

    @ApiModelProperty(value = "图书id")
    private Integer bookId;

    @ApiModelProperty(value = "借出日期")
    private Date borrowDate;

    @ApiModelProperty(value = "实际归还时间")
    private Date returnDate;

    @ApiModelProperty(value = "最迟归还日期")
    private Date expectReturnDate;

    @ApiModelProperty(value = "借阅状态 0：未归还，1：按时归还，2：超时归还，3：超时未归还")
    private Integer state;

    private static final long serialVersionUID = 1L;

}
